//
//  BKHomeClassifyCollectionView.h
//  bestkeep
//
//  Created by utouu_mhm on 16/12/14.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import <UIKit/UIKit.h>

@class BKHomeClassifyCollectionView;

typedef enum {
    
    singleLineShowOneGoods,
    singleLineShowDoubleGoods
    
}GoodsListTableShowType;

@protocol BKHomeClassifyCollectionViewDelegate <NSObject>

-(void)tableviewCntentOffset:(CGPoint)offset;

-(void)BKCollectionViewWithIndexPath:(NSIndexPath *)indexPath;

-(void)BKCollectionViewWithContentOffset:(CGPoint )ContentOffset;

@end

@interface BKHomeClassifyCollectionView : UICollectionView<UICollectionViewDelegateFlowLayout,UICollectionViewDataSource,UICollectionViewDelegate>
@property (nonatomic,strong) NSArray *dataArray;

@property (nonatomic,weak) id<BKHomeClassifyCollectionViewDelegate>myDelegate;

@property (nonatomic,assign) BOOL isNoData;

@property (nonatomic,copy)NSString * searchCondition; //搜索条件

@property (nonatomic,copy)NSString * order;//排序条件

@property (nonatomic,assign)GoodsListTableShowType  showType; //商品列表展现方式

@property (nonatomic,assign) BOOL isRequest;

@end
